projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f50bbb1
)
widget: Avoid some type checks in snapshot_child
author
Timm Bäder
<mail@baedert.org>
Tue, 6 Jun 2017 09:00:46 +0000
(11:00 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000
(21:27 -0400)
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index b8aa3d780f484891de7c56f33f9d3ea3a365dbbf..a454702307be8c94495dd7aac3b8888d968478ab 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-15783,7
+15783,7
@@
gtk_widget_snapshot_child (GtkWidget *widget,
g_return_if_fail (_gtk_widget_get_parent (child) == widget);
g_return_if_fail (snapshot != NULL);
- gtk_widget_get_allocation (child, &content_allocation);
+
_
gtk_widget_get_allocation (child, &content_allocation);
x = content_allocation.x;
y = content_allocation.y;